﻿using System;

namespace Project.Co_DataTransformationPrototype
{
    /// <summary>
    /// Concrete class representing the keyUpdated-state which
    /// includes functionality to handle state-changes
    /// </summary>
    class KeyUpdatedState : StateBase
    {
        // Constructor
        public KeyUpdatedState(EventContext eContext)
        {
            this.EventContext = eContext;
            this.stateType = StateType.Modified;
        }

        public override StateBase Handle(StateBase state)
        {
            StateBase resultState;

            // TODO: Optimization
            resultState = state;

            return resultState;
        }

    }
}
